//
//  MHSegmentedControlController.h
// MiaoCircle
//
//Created by acgera on 2018/4/9.
//  Copyright © 2018年 acgera. All rights reserved.
//

#import "MHViewController.h"

@class MHSegmentedControlController;

@protocol MHSegmentedControlControllerDelegate <NSObject>

@optional

- (void)segmentedControlController:(MHSegmentedControlController *)segmentedControlController didSelectViewController:(UIViewController *)viewController;

@end

@interface MHSegmentedControlController : MHViewController

@property (nonatomic, copy) NSArray *viewControllers;
@property (nonatomic, strong, readonly) UISegmentedControl *segmentedControl;
@property (nonatomic, assign) id<MHSegmentedControlControllerDelegate> delegate;

@end

@interface UIViewController (MHSegmentedControlItem)

@property (nonatomic, copy) NSString *segmentedControlItem;

@end

